﻿function Validate() {
    var obj_cmbTempo = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_cmbTempo_I');
    var obj_cmbDeliveryBoy = document.getElementById('ctl00_ctl00_ASPxSplitter1_Content_ContentSplitter_MainContent_cmbDeliveryBoy_I');

    if (obj_cmbTempo.value == "--Select--") {
        alert('Kindly Specify Tempo.')
        obj_cmbTempo.focus();
        return false;
    }
    if (obj_cmbDeliveryBoy.value == "--Select--") {
        alert('Kindly Select Delivery Boy.')
        obj_cmbDeliveryBoy.focus();
        return false;
    }

    return true;
}